/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import com.google.common.base.Preconditions;
/*    */ 
/*    */ public class pk {
/*    */   public static void z(int a, int i, int j) {
/*  7 */     if (a < i || a > j)
/*  8 */       throw new IllegalArgumentException("Number should be in range [" + i + ", " + j + "] (inclusive). Provided: " + a); 
/*    */   }
/*    */   
/*    */   public static void v(float a, float f1, float f2) {
/* 12 */     if (a < f1 || a > f2) {
/* 13 */       throw new IllegalArgumentException("Number should be in range [" + f1 + ", " + f2 + "] (inclusive). Provided: " + a);
/*    */     }
/*    */   }
/*    */   
/*    */   public static void v(int a, int i, int j) {
/* 18 */     if (a <= i || a >= j)
/* 19 */       throw new IllegalArgumentException("Number should be in range [" + i + ", " + j + "] (exclusive). Provided: " + a); 
/*    */   }
/*    */   
/*    */   public static void t(int a, int i) {
/* 23 */     if (a < i)
/* 24 */       throw new IllegalArgumentException("Provided number should be greater or equal " + i + ". Provided: " + a); 
/*    */   }
/*    */   
/*    */   public static void h(int a, int i) {
/* 28 */     if (a <= i)
/* 29 */       throw new IllegalArgumentException("Provided number should be greater than " + i + ". Provided: " + a); 
/*    */   }
/*    */   
/*    */   public static void v(float a, float f1) {
/* 33 */     if (a <= f1)
/* 34 */       throw new IllegalArgumentException("Provided number should be greater than " + f1 + ". Provided: " + a); 
/*    */   }
/*    */   
/*    */   public static void z(int a, int i) {
/* 38 */     if (a >= i)
/* 39 */       throw new IllegalArgumentException("Provided number should be less than " + i + ". Provided: " + a); 
/*    */   }
/*    */   
/*    */   public static void v(int a, int i) {
/* 43 */     if (a > i)
/* 44 */       throw new IllegalArgumentException("Provided number should be less or equals " + i + ". Provided: " + a); 
/*    */   }
/*    */   
/*    */   public static <T> void v(Object[] a, int i) {
/* 48 */     Preconditions.checkNotNull(a);
/* 49 */     if (a.length != i)
/* 50 */       throw new IllegalArgumentException("Provided array should have length " + i + ". Provided: " + a.length); 
/*    */   }
/*    */   
/*    */   public static void v(Object a, Class clazz) {
/* 54 */     if (!clazz.isInstance(a))
/* 55 */       throw new IllegalArgumentException("Provided object should be an instance of " + clazz + ". Provided: " + a.getClass()); 
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\pk.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */